'use strict';

function double_to_one(collection) {

  let flatened=collection.reduce(function(a,b){
    return a.concat(b);
  },[]);
  return flatened;
  
}

module.exports = double_to_one;
